Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove legacy events multiple template and js file #336

Merged
merged 1 commit into from
Dec 19, 2023

Conversation

deedeeh
Copy link
Contributor

@deedeeh deedeeh commented Dec 19, 2023

What does this change?

This PR removes the Legacy events-multiple template after it's been migrated to Svelte #333.

How to test

You can see that events-multiple isn't used in Legacy anymore in here https://guardian.github.io/commercial-templates/ and I checked if apiMultiple function which is in events-multiple.js has been used in any files in our codebase before removing it.

How can we measure success?

Remove unused Legacy templates and related files after migration for cleaner codebase.

### Automated ads

A number of ads (`events-multiple` and `masterclass-multiple`) use a reader revenue endpoint. In their associated `test.json` files you will see that the URL's refer to `mem.thegulocal.com` as the domain. The `_src/js/events-multiple.js` needs to be updated to reflect this domain also. This requires the [`membership-frontend`](https://github.com/guardian/membership-frontend) to be running and using the `nginx` server. Make sure to set this up before testing these ads.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I spoke to Emma regarding this and she said we can remove this section as events-multiple is migrated to Svelte and masterclass-multiple have been shut down.

@deedeeh deedeeh marked this pull request as ready for review December 19, 2023 17:26
@deedeeh deedeeh self-assigned this Dec 19, 2023
Copy link
Contributor

@domlander domlander left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹

@deedeeh deedeeh merged commit 29c4086 into main Dec 19, 2023
4 checks passed
@deedeeh deedeeh deleted the dina/delete-legacy-events-multiple-template branch December 19, 2023 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants